
macro(copy_file from to)
  execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${from} ${to})
endmacro()

macro(copy_files files dest)
  foreach(fh ${files})
    copy_file("${fh}" "${dest}")
  endforeach()
endmacro()

macro(create_symlink files dest)
  foreach(fh ${files})
    execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${fh} ${dest})
  endforeach()
endmacro()
